<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class DemandValidate extends BaseValidate {
    protected $rule = [
        'product_id'=>'require|number',
        'linkman'=>'require',
        'contact_number'=>'require|number',
        'address'=>'require',
        'remark'=>'require',
    ];
    protected $message =  [
        'product_id'=>'产品id',
        'linkman'=>'联系人姓名',
        'contact_number'=>'联系电话',
        'address'=>'具体地址',
        'remark'=>'补充信息'
    ];
}